package me.jianghs.service;

import me.jianghs.thrift.Student;
import org.apache.thrift.TException;
import org.apache.thrift.transport.TTransportException;

import java.io.IOException;

public interface StudentService {
    //根据名称获取学生信息
    Student getStudentByName(String name) throws IOException, TException;

    //保存学生信息
    void save(Student student);
}
